package com.gakj.truck.third.api.service;

import com.gakj.truck.third.api.mapper.SeriesMapper;
import com.gakj.truck.third.core.domain.TruckSeries;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by duronghong on 2016/12/5.
 */
@Service
public class TruckSeriesService {

    @Autowired
    SeriesMapper seriesMapper;


    public List<TruckSeries> getSeriesByName(String name){
        return seriesMapper.getSeiesbyName(name);
    }
}
